﻿/* Définition des polices personnalisées */

@font-face
{
    font-family: 'BallparkWeiner';
    src: url('polices/ballpark.eot');
    src: url('polices/ballpark.eot?#iefix') format('embedded-opentype'),
         url('polices/ballpark.woff') format('woff'),
         url('polices/ballpark.ttf') format('truetype'),
         url('polices/ballpark.svg#BallparkWeiner') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Dayrom';
    src: url('polices/dayrom.eot');
    src: url('polices/dayrom.eot?#iefix') format('embedded-opentype'),
         url('polices/dayrom.woff') format('woff'),
         url('polices/dayrom.ttf') format('truetype'),
         url('polices/dayrom.svg#Dayrom') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Eléments principaux de la page */

body
{
    background: url('images/fond_jaune.png');
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 85%;
    margin: auto;
}

section h1, footer h1, nav a
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header */

header
{
    background: url('images/separateur.png') repeat-x bottom;
}

#titre_principal, nav
{
    display: inline-block;
}

header h1
{
    font-family: 'BallparkWeiner', serif;
    font-size: 2.5em;
    font-weight: normal;
}

header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

header h2
{
    font-family: Dayrom, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}

/* Navigation */

nav
{
    width: 85%;
    text-align: right;
}

nav ul
{
    list-style-type: none;
}

nav li
{
    display: inline-block;
    margin-right: 10px;
}

nav a
{
    font-size: 1em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}

/* Bannière */

#banniere_image
{
    margin-top: 15px;
    height: 40px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
}

#banniere_description
{
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 5px 5px;
    width: 99.5%;
    height: 33px;
    padding-top: 10px;
    padding-left: 4px;
    background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(24,24,24,0.8);
    color: white;
    font-size: 0.8em;
    
}

.bouton_rouge
{
    display: inline-block;
    height: 25px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: url('images/fond_degraderouge.png') repeat-x;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}


.bouton_codeco
{
    display: block-inline;
    height: 25px;
    background: url('images/fond_degraderouge.png') repeat-x;
    box-shadow: 0px 2px 5px #1c1a19;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 5px 8px;
    color: white;
    text-decoration: none;
}

.bouton_rouge img
{
    border: 0;
}

/* Corps */

aside, #content
{
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

aside
{
    position: relative;
    width: 22%;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

#content
{
   width: 70%;

   margin-bottom: 15px;
   margin-left: 20px;
   padding: 5px;
   text-align: center;
  /* background-color: #FFFFFF;
   
   border: 2px ridge #999;*/
}


/* Footer */


footer
{
    border-top: 1px solid #CCC;
    text-align: center;
    color: #999;
    font-size: 85%;
    margin-top: 100px
}


/* News */

#news td
{
   padding-right : 20px;
   text-align: center;
}



#unenews
{
   text-align: justify;

}

#unenews p
{
   text-indent: 30px;

}


#news h1
{
    margin-bottom: 30px;
}

#news h3
{

    font-family: Dayrom, serif;
    font-size: 1.6em;
    font-weight: normal;
    border-bottom: 1px solid #999;
    text-align: left
}

#news .modif
{
    float: right;
    background: url('images/fond_degraderouge.png') repeat-x;
    box-shadow: 0px 2px 5px #1c1a19;
    border: 1px solid #760001;
    border-radius: 2px;
    font-size: 0.6em;
    text-align: center;
    padding: 3px 5px 3px 5px;
    margin-left: 3px;
    color: white;
    text-decoration: none;
}


#news h4
{
    font-family: Dayrom, serif;
    font-size: 0.8em;
    text-align: right;
    color: #999;
    margin-bottom: 20px;
}

#news .ajout
{
    background: url('images/fond_degraderouge.png') repeat-x;
    box-shadow: 0px 2px 5px #1c1a19;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 2px 8px 2px 8px;
    color: white;
    text-decoration: none;
}

#news .retour
{
    margin-top: 100px;
    background: url('images/fond_degraderouge.png') repeat-x;
    box-shadow: 0px 2px 5px #1c1a19;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 2px 8px 2px 8px;
    color: white;
    text-decoration: none;
}

#news .espace
{
    margin-top: 50px;
}

/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_principal, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie .bouton_rouge, .old_ie article, .old_ie aside, .old_ie #tweet, .old_ie #mes_photos, .old_ie #mes_amis, .old_ie #mes_amis ul
{
    display: inline;
    zoom: 1;
}

/* Quelques ajustements pour les vieilles versions d'IE */

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}

.old_ie footer div, .ie8 footer div
{
    margin-top: 30px;
    background: url('images/separateur.png') repeat-x top;
}

